import App from '@/App.vue'

import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import DataVVue3 from '@kjgl77/datav-vue3'


import './assets/css/index.less'
import './assets/css/tailwind.css'
import 'element-plus/theme-chalk/index.css'

import store from './store'
import router from './router'
import icons from './global/icons'

import 'virtual:svg-icons-register'
import globalComponent from './components/SvgIcon/Index'

const app = createApp(App)
app.use(ElementPlus, {
    locale: zhCn,
})
app.use(DataVVue3)

app.use(router)
app.use(store)
app.use(icons)

app.use(globalComponent)


app.mount('#app')